home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows News 2005 November
/
WNnov2005.iso
/
Windows
/
Indispensables
/
Movie Collection
/
MovieCollection5403.exe
/
{app}
/
web
/
Default
/
film.xsl
next >
Wrap
Extensible Markup Language
|
2005-08-01
|
13KB
|
237 lines
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="header.xsl"/>
<xsl:output method="html" media-type="text/html; charset=ISO-8859-1"/>
<xsl:template match="/">
<html>
<head>
<title><xsl:value-of select="datapacket/@title"/></title>
<link rel="stylesheet" type="text/css" href="mc.css" />
</head>
<body>
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<!-- EntΩte -->
<tr><td width="100%">
<xsl:call-template name="template_header" />
</td></tr>
<tr>
<td width="100%">
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr>
<td width="100%" class="gt0deg">
<xsl:if test="not(//datapacket/@php=1)"><a href="disconnect" class="lktoolbar">DΘconnecter</a> | </xsl:if><a href="index" class="lktoolbar">Nouvelle recherche</a> | <a href="mailto: babidyxp@free.fr" class="lktoolbar">Powered by MovieCollection ⌐ Babidyxp</a>
</td>
<td width="100%" class="gt0deg">
<xsl:value-of select="datapacket/@servername"/>
</td>
</tr>
</table>
</td>
</tr>
<!-- Fin EntΩte -->
<tr>
<td width="100%" class="parAction">
<table cellpadding="0" cellspacing="0">
<tr>
<td class="parAction">
<img src="images/trans_pixel.gif" height="25" width="1" />
</td>
<td class="parAction" valign="center">
<img>
<xsl:attribute name="src">images/stars<xsl:value-of select="//column[@field='note']/@value"/>.gif</xsl:attribute>
</img>
</td>
<td class="parAction">
<xsl:value-of select="//column[@field='nom']/@value"/>
<xsl:if test="not(//column[@field='originaltitle']/@value='')">
(<xsl:value-of select="//column[@field='originaltitle']/@value"/>)
</xsl:if>
</td>
</tr>
</table>
</td>
</tr>
<tr><td width="100%">
<p style="margin: 10px;" />
<div style="margin-top: 0px; margin-bottom: 0px; margin-right: 20px; margin-left: 20px;" >
<table cellpadding="0" cellspacing="1" border="0">
<tr>
<!-- Image -->
<td bgcolor="white" valign="top" width="140" class="gt2">
<img>
<xsl:attribute name="src">getimg?idx=<xsl:value-of select="//column[@field='idx']/@value"/></xsl:attribute>
</img>
<p class="fichetech"><img src="images/trans_pixel.gif" height="15"/></p>
<p class="fichetech">Vu ?
<xsl:choose>
<xsl:when test="//column[@field='vu']/@value=1"><img src="images/chk.gif" /></xsl:when>
<xsl:otherwise><img src="images/unchk.gif" /></xsl:otherwise>
</xsl:choose>
</p>
<p class="fichetech">Vu le: <xsl:value-of select="//column[@field='datevu']/@value"/></p>
<p class="fichetech">Date ajout: <xsl:value-of select="//column[@field='dateajout']/@value"/></p>
<p class="fichetech">A acheter ?
<xsl:choose>
<xsl:when test="//column[@field='aacheter_bool']/@value=1"><img src="images/chk.gif" /></xsl:when>
<xsl:otherwise><img src="images/unchk.gif" /></xsl:otherwise>
</xsl:choose>
</p>
<p class="fichetech"><img src="images/trans_pixel.gif" height="5"/></p>
<p class="fichetech"><xsl:value-of select="//column[@field='divers']/@value"/></p>
<xsl:if test="not(//datapacket/@php=1)">
<table cellpadding="0" cellspacing="1" border="0" width="100%" bgcolor="#9F9F9F">
<tr><td class="gtHdeg"><b>RΘservation</b></td></tr>
<tr><td class="gt2">
<p class="fichetech">
<xsl:if test="not(//column[@field='idloc']/@value='')">
<b><font color="red">PrΘtΘ</font></b>
</xsl:if>
<xsl:if test="//column[@field='idloc']/@value=''">
<b><font color="green">Disponible</font></b>
</xsl:if>
</p>
</td></tr>
</table>
<form name="formReserverFilm" method="post" action="reserver" >
<input type="hidden" name="__idx">
<xsl:attribute name="value"><xsl:value-of select="//column[@field='idx']/@value"/></xsl:attribute>
</input>
<input type="submit" name="submitReserver" value="Reserver" class="mcbutton" />
</form>
</xsl:if>
</td>
<!-- Acteurs.... -->
<td bgcolor="white" valign="top">
<table cellpadding="0" cellspacing="1" border="0">
<tr><td class="gt2">RΘfΘrence: <b><xsl:value-of select="//column[@field='ref']/@value"/></b></td></tr>
<tr><td class="gt2">RΘalisateur: <b><xsl:value-of select="//column[@field='realisateur']/@value"/></b></td></tr>
<tr><td class="gt2">Producteur: <b><xsl:value-of select="//column[@field='producteur']/@value"/></b></td></tr>
<tr><td class="gt2">Editeur: <b><xsl:value-of select="//column[@field='editeur']/@value"/></b></td></tr>
<tr><td class="gt2">Acteurs: <b><xsl:value-of select="//column[@field='acteurs']/@value"/></b></td></tr>
<tr><td class="gt2"><img src="images/trans_pixel.gif" height="5"/></td></tr>
<tr><td class="gt2"><xsl:value-of select="//column[@field='obs']/@value"/></td></tr>
<tr><td class="gt2"><img src="images/trans_pixel.gif" height="5"/></td></tr>
<tr><td class="gt2"><xsl:value-of select="//column[@field='infos']/@value"/></td></tr>
<tr><td class="gt2"><img src="images/trans_pixel.gif" height="5"/></td></tr>
<xsl:if test="not(//column[@field='url']/@value='')">
<tr><td class="gt2">
<a target="_blank">
<xsl:attribute name="href"><xsl:value-of select="//column[@field='url']/@value"/></xsl:attribute>
<xsl:attribute name="title"><xsl:value-of select="//column[@field='url']/@value"/></xsl:attribute>
<xsl:value-of select="//column[@field='url']/@short"/>
</a>
</td></tr>
</xsl:if>
<tr><td class="gt2"><img src="images/trans_pixel.gif" height="5"/></td></tr>
<xsl:if test="not(count(//extimg)='0')">
<tr><td class="gt2"><b>Fichiers Externes (Images)</b></td></tr>
<xsl:for-each select="//extimg">
<tr><td class="gt2">
<a>
<xsl:attribute name="href">getextimg?idx=<xsl:value-of select="@idx"/></xsl:attribute>
<xsl:value-of select="@filename"/>
</a>
</td></tr>
</xsl:for-each>
</xsl:if>
</table>
</td>
<!-- Fiche Technique -->
<td bgcolor="white" valign="top" width="200">
<table cellpadding="0" cellspacing="1" border="0" width="100%" bgcolor="#9F9F9F">
<tr><td class="gtHdeg"><b>Fiche Technique</b></td></tr>
<tr><td class="gt2">
<p class="fichetech">Public visΘ: <xsl:value-of select="//column[@field='public']/@value"/></p>
<p class="fichetech">CatΘgorie: <xsl:value-of select="//column[@field='categorie']/@value"/></p>
<p class="fichetech">DurΘe: <xsl:value-of select="//column[@field='duree']/@value"/> min.</p>
<p class="fichetech">AnnΘe: <xsl:value-of select="//column[@field='annee']/@value"/></p>
</td></tr>
<tr><td class="gt2">
<p class="fichetech">Pays: <xsl:value-of select="//column[@field='pays']/@value"/></p>
<p class="fichetech">Langues: <xsl:value-of select="//column[@field='langues']/@value"/></p>
<p class="fichetech">Sous-titres: <xsl:value-of select="//column[@field='soustitres']/@value"/></p>
<p class="fichetech">Source: <xsl:value-of select="//column[@field='source']/@value"/></p>
</td></tr>
<tr><td class="gt2">
<p class="fichetech">RΘsolution: <xsl:value-of select="//column[@field='resolution']/@value"/></p>
<p class="fichetech">Aspect: <xsl:value-of select="//column[@field='aspectratio']/@value"/></p>
<p class="fichetech">Format VidΘo: <xsl:value-of select="//column[@field='videoformat']/@value"/></p>
<p class="fichetech">Bitrate: <xsl:value-of select="//column[@field='videobitrate']/@value"/></p>
<p class="fichetech">Format audio: <xsl:value-of select="//column[@field='audioformat']/@value"/></p>
<p class="fichetech">Bitrate: <xsl:value-of select="//column[@field='audiobitrate']/@value"/></p>
<p class="fichetech">FrΘquence: <xsl:value-of select="//column[@field='framerate']/@value"/></p>
<p class="fichetech">Taille fichiers: <xsl:value-of select="//column[@field='filessize']/@value"/></p>
<p class="fichetech">Support: <xsl:value-of select="//column[@field='support']/@value"/></p>
<p class="fichetech">Nbre de supports: <xsl:value-of select="//column[@field='nbsupports']/@value"/></p>
</td></tr>
</table>
</td>
</tr>
</table>
</div>
<!--
<div style="margin-top: 0px; margin-bottom: 0px; margin-right: 20px; margin-left: 20px;" >
<table cellpadding="0" cellspacing="1" border="0" bgcolor="#9F9F9F">
<xsl:apply-templates />
</table>
</div>
-->
</td></tr>
</table>
</body>
</html>
</xsl:template>
<!--
<xsl:template match="//column">
<xsl:if test="not(@field='idx')">
<tr>
<td class="gt2" nowrap="1" valign="top"><xsl:value-of select="@caption" /></td>
<td class="gt2" valign="top"><xsl:value-of select="@value" /></td>
<xsl:if test="@field='ref'">
<td bgcolor="white" valign="top">
<xsl:attribute name="rowspan"><xsl:value-of select="count(//column)" /></xsl:attribute>
<img>
<xsl:attribute name="src">getimg?idx=<xsl:value-of select="//column[@field='idx']/@value"/></xsl:attribute>
</img>
</td>
</xsl:if>
</tr>
</xsl:if>
</xsl:template>
-->
</xsl:stylesheet>